
package com.dhcc.bpm.modules.content.service.impl;

import com.dhcc.bpm.modules.content.entity.Marketing;
import com.dhcc.bpm.modules.content.vo.MarketingVO;
import com.dhcc.bpm.modules.content.mapper.MarketingMapper;
import com.dhcc.bpm.modules.content.service.IMarketingService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName MarketingServiceImpl
 * @Description  营销信息 服务实现类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service
public class MarketingServiceImpl extends BaseServiceImpl<MarketingMapper, Marketing> implements IMarketingService {

	@Override
	public IPage<MarketingVO> selectMarketingPage(IPage<MarketingVO> page, MarketingVO marketing) {
		return page.setRecords(baseMapper.selectMarketingPage(page, marketing));
	}

}
